<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">
<title>发布新主题</title>
</head>
<body>
	<s:form action="topic_add">
		<s:hidden name="forum.id" value="%{id}"></s:hidden>
		<table>
			<tr>
				<td><s:textfield name="title"></s:textfield></td>
			</tr>
			<tr>
				<td><s:textarea name="content"></s:textarea></td>
			</tr>
		</table>
	</s:form>
</body>
</html>
